package cn.iocoder.yudao.module.system.dal.mysql.areaserve;

import cn.iocoder.yudao.framework.common.pojo.PageResult;
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
import cn.iocoder.yudao.module.system.controller.admin.areaserve.vo.BookingSeatRecordPageReqVO;
import cn.iocoder.yudao.module.system.controller.admin.areaserve.vo.BookingUserRecordReqVO;
import cn.iocoder.yudao.module.system.dal.dataobject.areaserve.BookingSeatRecordDO;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface BookingSeatRecordMapper  extends BaseMapperX<BookingSeatRecordDO> {
    default PageResult<BookingSeatRecordDO> selectPage(BookingSeatRecordPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<BookingSeatRecordDO>()
                .orderByDesc(BookingSeatRecordDO::getId));
    }
}
